package content

import (
	"context"
	"gf_blog_admin/internal/service"

	"gf_blog_admin/api/content/v1"
)

func (c *ControllerV1) ArticleStore(ctx context.Context, req *v1.ArticleStoreReq) (res *v1.ArticleStoreRes, err error) {
	res = &v1.ArticleStoreRes{}
	err = service.Article().Store(ctx, &req.ArticleFormInput)
	return
}
